<template>
    <div class="big">
        <div class="line1">
            <img src="../../assets/views/xinche/1.jpg" alt="">
        </div>
        <div class="line2">
            <img src="../../assets/views/xinche/2.jpg" alt="">
        </div>
        <div class="line3">
            <div class="topper">
                <div class="inn">10万以下</div>
                <div class="inn">10-15万</div>
                <div class="inn">15-20万</div>
                <div class="inn">20-30万</div>
                <div class="inn">轿车</div>
                <div class="inn">SUV</div>
                <div class="inn">新能源</div>
                <div class="inn">更多</div>
            </div>
            <div class="lower">
                <img src="../../assets/views/xinche/3.jpg" alt="">
            </div>
        </div>
        <div class="line4">
            <div class="abc">
                <div class="upper">
                    <p>A</p>
                    <p><el-switch v-model="value1">
                        </el-switch>只看新能源<el-switch v-model="value2">
                        </el-switch>只看在售</p>
                </div>
                <div class="lower">
                    <img src="../../assets/views/xinche/4.jpg" alt="">
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            value1: "false",
            value2: "false"
        }
    }
}
</script>

<style lang="scss" scoped>
.big {
    box-sizing: border-box;

    >.line3 {
        box-sizing: border-box;
        padding: 10px;
        background-color: white;


        >.topper {
            display: flex;
            flex-wrap: wrap;

            .inn {
                width: 75px;
                margin: 3px 3px;
                height: 30px;
                text-align: center;
                background-color: #F6F7FB;
                border-radius: 5px;
                line-height: 30px;
            }
        }
    }

    .line4 {
        >.abc {
            >.upper {
                height: 40px;
                display: flex;
                justify-content: space-between;
                align-items: chenter;

                p {
                    height: 40px;
                    line-height: 40px;
                    color: gray;
                    padding: 0;
                    margin: 0;
                }
            }

            >.lower {
                box-sizing: border-box;
                padding: 0 10px;
                background-color: white;
            }
        }
    }
}
</style>